<?php
if (!defined('BASEPATH')) exit('No direct script access allowed');

class comments_m extends FOX_Model
{

	function __construct ()
	{
		parent::__construct();
        $this->config->load('userset');//用户积分
	}

    /**
     * @param $order_id
     * @return mixed
     * 查询单条
    */
    public  function get_all_comments(){
        $query = $this->db->select('*')->from('good_comments')->get();
        return $query->result_array();
   }
    

}
